package com.pojo;

/**
 * 仓库 实体类
 */
public class JdWarehouse {
    private Integer w_num;

    private Integer w_id;

    private String w_name;

    private String w_remarks;

    private Integer w_state;
    
    public JdWarehouse() {
    }
    
    public JdWarehouse(Integer w_id) {
        this.w_id = w_id;
    }
    
    public JdWarehouse(String w_name) {
        this.w_name = w_name;
    }
    
    public Integer getW_num() {
        return w_num;
    }

    public void setW_num(Integer w_num) {
        this.w_num = w_num;
    }

    public Integer getW_id() {
        return w_id;
    }

    public void setW_id(Integer w_id) {
        this.w_id = w_id;
    }

    public String getW_name() {
        return w_name;
    }

    public void setW_name(String w_name) {
        this.w_name = w_name == null ? null : w_name.trim();
    }

    public String getW_remarks() {
        return w_remarks;
    }

    public void setW_remarks(String w_remarks) {
        this.w_remarks = w_remarks == null ? null : w_remarks.trim();
    }

    public Integer getW_state() {
        return w_state;
    }

    public void setW_state(Integer w_state) {
        this.w_state = w_state;
    }
    
    @Override
    public String toString() {
        return "JdWarehouse{" +
                "w_num=" + w_num +
                ", w_id=" + w_id +
                ", w_name='" + w_name + '\'' +
                ", w_remarks='" + w_remarks + '\'' +
                ", w_state=" + w_state +
                '}';
    }
}